﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddPublicHolidays.aspx.cs" Inherits="Actuals.AddPublicHolidays" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id = "head1" runat="server">
<link href="~/themes/ui-lightness/jquery.ui.all.css" rel="stylesheet" type="text/css" />


    <title>AddPublicHolidays</title>
    <base target= "_self" />
   

   <a id="A1" href="~/Actuals.css" rel="Stylesheet" runat="server"></a>
    
    <script type="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery.js") %>"></script>
    <script type="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery.ui.datepicker.js") %>"></script>
    <script type="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery.ui.core.js") %>"></script>
   <script type="text/javascript">
       $(document).ready(function () {
           $("#<%=txtHolidayDate.ClientID %>").datepicker({ dateFormat: 'mm-dd-yy', changeMonth: true, changeYear: true, yearRange: '2011:2013' });


       });
    </script>
    
</head>
<body>  
    <form id="form1" runat="server">

    <div id ="divPublicHolidays" runat="server">
    <center>
        <asp:Label ID="lblMsg" runat="server" CssClass="message"></asp:Label>
        <table>
        <tr>
                <td> 
                    <asp:Label ID = "lblId" runat="server" CssClass="label" Visible="false">Id</asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID ="ddlId" runat="server" CssClass="textfield" Visible = "false"></asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td> 
                    <asp:Label ID = "lblHolidayDate" runat="server" CssClass="label">HolidayDate</asp:Label>
                </td>
                <td class="labelRequiredField">
                        <asp:TextBox ID="txtHolidayDate" CssClass="textfield" runat="server"></asp:TextBox> * (MM-dd-yyyy)
                        <asp:RequiredFieldValidator ID="rfvHolidayDate" ControlToValidate="txtHolidayDate" runat="server"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td> 
                    <asp:Label ID = "lblDescription" runat="server" CssClass="label">Description</asp:Label>
                </td>
                <td align ="left">
                    <asp:TextBox ID="txtDescription" runat="server" CssClass="textfield" Rows="10" Columns="20" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
              <tr>
            <td colspan="2">
            <asp:Button ID ="btnSave"  Text ="Save" runat ="server" OnClick = "btnSave_Click" />
            <input type="button" value ="Close" onclick ="window.close();" />

            </td>
            </tr>
            

        </table>
    
    
    </center>
    
    </div>
    <asp:HiddenField ID="hidId" runat="server" />
    </form>
</body>
</html>
